<?php
/*
 * 程序入口
 */

/**
 * 引入核心文件
 */
require_once('define.php'); //加载定义文件

$amf = amfphp::getInstance();
$amf->setProduction(true);
$amf->run();

dump(testModel::test('It Works!'));
$data = mysql::getInstance()->from('user')->select()->fetchAll();
dump($data);
$cache = memcached::getInstance('master');
$cache->store('id',$data);
dump($cache->fetch('id'));
?>